package com.ets.User_DAO;

import java.util.ArrayList;

/******************************************************************************* 
 <big><b>UserIO</b></big> interface, that defines the methods available for use
 with the <big><b>User</b></big> object
 <br><br>
 @author D.Merkling - 1:33:38 PM - Aug 22, 2011
 <br><br>
 @version 1.0  
*******************************************************************************/ 
public interface UserIO
  {
   // User reader methods
   boolean existsUser  (String usr);
   User    getUser     (String User);
   boolean isValidPswd (String usr, String pswd);
   boolean getUsers    (ArrayList<User> users);
   
   // User writer methods
   boolean addUser    (User u);
   boolean updateUser (User u);
   boolean deleteUser (User u);
   boolean updatePswd (String usr, String pswd_old, String pswd_new);
  }